//
//  AEProductInfoModel.m
//  AESOLAR_IOS
//
//  Created by Bin Tang on 2024/10/28.
//  Copyright © 2024 Mr.Wang. All rights reserved.
//

#import "AEProductInfoModel.h"

@implementation AEProductInfoModel

+ (NSDictionary *)modelContainerPropertyGenericClass {
    return @{@"ossList" : [AENewsInfoOssModel class]};
}

- (instancetype)init {
    if (self = [super init]) {
        _ossUrls = [NSMutableArray new];
    }
    return self;
}

- (NSString *)productImgUrl {
    if ([objectNull(_productImgUrl) isEqualToString:@""]) {
        _productImgUrl = [NSString stringWithFormat:@"%@%zd", kImageBaseUrl, self.productOss];
    }
    return _productImgUrl;
}

@end
